/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client

import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty

import java.io.Serializable

/**
 * 角色卡系统

 * @author PlayDK
 */
class CardData @JsonCreator
constructor(@param:JsonProperty("cid") val chrId: Int, @param:JsonProperty("level") val level: Short, @param:JsonProperty("job") val job: Short) : Serializable {

    override fun toString(): String {
        return "角色ID: $chrId 职业ID: $job 等级: $level"
    }

    companion object {

        private const val serialVersionUID = 2550550428979893978L
    }
}
